package com.shopping.mall.core.module.user.entity;

/**
 * @Author ZZY
 * @Date 2021/7/28
 */
public enum Role {

    NORMAL_USER("NORMAL_USER",1),
    ENTERPRISE_USER("ENTERPRISE_USER",2);

    private final String role;
    private final Integer value;

    Role(String role, Integer value) {
        this.role = role;
        this.value = value;
    }

    public String getRole() {
        return role;
    }

    public Integer getValue() {
        return value;
    }
}
